package com.umbrella.robot.agent;

import com.umbrella.robot.transformer.WatchTransformer;

import java.lang.instrument.Instrumentation;

/**
 * Created by 64669 on 2019/7/18.
 * 监控一个方法的入参、出参
 */
public class WatchAgentMain {

    public static void premain(String agentArgs, Instrumentation inst)
        throws Exception {
        System.out.println("WatchAgentMain Executing premain.........");
        inst.addTransformer(new WatchTransformer());
    }
}
